package org.FaPe3D.engine.materials.shaders
{
	import org.papervision3d.core.proto.LightObject3D;
	import org.papervision3d.lights.PointLight3D;
	import org.papervision3d.materials.shaders.FlatShader;

	public class FPFlatShader extends FlatShader
	{
		//private var _object:Object;
		public function FPFlatShader(obj:Object = null,light:LightObject3D=null, lightColor:int=0xFFFFFF, ambientColor:int=0x000000)
		{
			//_object = obj;
			if(light == null)
			{
				light = new PointLight3D(true);
			}
			super(light, lightColor, ambientColor);
		}
		
	}
}